package com.kuqi.crs.workbench.dao;

import com.kuqi.crs.settings.domain.User;
import com.kuqi.crs.workbench.domain.Activity;

import java.util.List;
import java.util.Map;

/**
 * @author:kuqi
 * @createTime:2021/9/24 21:45
 * @description:
 */
public interface ActivityDao {
    int save(Activity a);

    int getTotalByCondition(Map<String, Object> map);
    
    List<Activity> getDataListByCondition(Map<String, Object> map);

    int deleteActivityById(String[] ids);

    Activity getActivity(String id);

    int update(Map<String, Object> map);

    Activity getDetail(String id);

}
